
import Vue from 'vue'
import Router from 'vue-router'

export const constantRouterMap = [
    {
        path:'/',
        redirect: "/SinglemoveLogin",

    },
    {
        path: '/SinglemoveLogin',
        component: ()=> import('@/view/Login'),
    },
    {
        path: '/back',
        component: ()=> import("@/view/back"),
        children:[
            {
                path: 'newUser',
                component: ()=> import("@/components/NewUser"),
            },
            {
                path: 'admission',
                component: ()=> import("@/components/Admission"),
            },
            {
                path: 'information',
                component: ()=> import("@/components/Information"),
            }
        ]
    },
    {
        path: '/font',
        component: ()=> import("@/view/font")
    },
    {
        path: '/performance',
        component: ()=> import("@/view/performance")
    },
    {
        path: '/admitqueryLogin',
        component: ()=> import("@/view/admitqueryLogin")
    }
]

const router = new Router({
    routes: constantRouterMap
})

export default router;
